<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入  初始化样式 字体图标 -->
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./static/css/font.css">
    <link rel="stylesheet" href="./static/css/iconfont.css">

    <!-- 引入jq -->
    <script src="./static/js/jquery/jquery.js"></script>


    <!-- mui css 与js -->
    <link rel="stylesheet" href="./static/js/mui/css/mui.css">
    <link rel="stylesheet" href="./static/js/mui/css/mui.picker.css">
<link rel="stylesheet" href="./static/js/mui/css/mui.poppicker.css">



    <script src="./static/js/mui/js/mui.min.js"></script>

    <script src="./static/js/mui/js/mui.picker.js"></script>
    <script src="./static/js/mui/js/mui.poppicker.js"></script>
<script src="./static/js/mui/js/city.data-3.js"></script>

    <!-- 引入rem js  -->
    <script src="./static/js/rem/rem.js"></script>





    <style>



    </style>
</head>

<body>





    <header class="mui-bar mui-bar-nav" id="header">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <h1 class="mui-title">个人中心</h1>
    </header>


  



    <div class="mui-content">
        <!-- 内容区域 -->

        <form class="mui-input-group">
            <div class="mui-input-row">
                <label>用户名</label>
            <input type="text" class="mui-input-clear" placeholder="请输入用户名">
            </div>
            <div class="mui-input-row">
                <label>电话</label>
                <input type="text"  placeholder="请输入电话">
            </div>
            <div class="mui-input-row">
                <label>性别</label>
                <span>男</span> <input type="radio" name='sex' value="男"> 
               

            </div>
            <div class="mui-input-row">
                <label>性别</label>
               
                <span>女</span> <input type="radio"  name='sex' value="女">  

            </div>
            <div class="mui-input-row">
                <label>地址</label>
                <input type="text"  placeholder="请输入地址" id='addressInput'>
            </div>
            <div class="mui-button-row">
                <button type="button" class="mui-btn mui-btn-primary" >提交</button>
               
            </div>
        </form>
    </div>



    <script>



$(function(){
    var picker = new mui.PopPicker({
        layer: 3
    });
 picker.setData(cityData3);


$('#addressInput').click(function(){
 picker.show(function (selectItems) {
    console.log(selectItems);
    var  AllAdress=selectItems[0].text+selectItems[1].text+selectItems[2].text
   
    $('#addressInput').val(AllAdress)
  })
})


})
       
    </script>


</body>

</html>